package com.example.状态模式;

/**
 * 享受咖啡测试类
 */
public class EnjoyCoffeMain {

    public static void main(String[] args) {
        MakeCoffe makeCoffe = new MakeCoffe();

        makeCoffe.takeCup();
        makeCoffe.addInstantCoffe();
        makeCoffe.addWater();
        makeCoffe.enjoyCoffe();
    }
}
